package com.fzt.common.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author 非洲铜
 * @since 2022-12-11
 */
@Data
public abstract class BaseEntity {

    @TableId(value = "id", type = IdType.AUTO)
    private Long          id;
    private Integer       version;
    private Integer       deleted;
    private Long          creator;
    private LocalDateTime createTime;
    private Long          updater;
    private LocalDateTime updateTime;
}
